import 'package:useable_app/global/Global.dart';

Future getAccountHistory(String date) async{
  return await Global().getInstance().dio.get(
    '/zxw/AccountingHistory',
    queryParameters: {
      "date": date
    }
  );
}

Future deleteAccountingList(String id) async {
  return await Global().getInstance().dio.delete(
      "/zxw/AccountingHistory",
    queryParameters: {
        "id": id
    }
  );
}